package com.qzxy.premiumhotelsystem.domain.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @TableName logs
 */
@TableName(value ="logs")
@Data
public class Logs implements Serializable {
    @ExcelProperty("日志编号")
    private Integer logId;

    @ExcelProperty("日志级别")
    private String logLevel;

    @ExcelProperty("日志用户")
    private String logUser;

    @ExcelProperty("日志内容")
    private String logContent;

    @ExcelProperty("日志时间")
    private Date createTime;

    private static final long serialVersionUID = 1L;

    public Logs(String logLevel, String logUser, String logContent) {
        this.logLevel = logLevel;
        this.logUser = logUser;
        this.logContent = logContent;
    }
}